package org.springblade.modules.admin.service;

import org.springblade.core.mp.base.BaseService;
import org.springblade.modules.admin.entity.MaintainTemplateRelation;
import org.springblade.modules.admin.vo.TemplateContentRelationPageVO;
import org.springblade.modules.admin.vo.TemplateLocationTypeTreeVO;

import java.util.List;

public interface MaintainTemplateRelationService extends BaseService<MaintainTemplateRelation> {

	List<TemplateLocationTypeTreeVO> tree(Long templateId);

	List<TemplateContentRelationPageVO> contentList(Long templateId, Long tltId);

    Boolean contentSave(MaintainTemplateRelation templateRelation);

	Boolean removeContent(Long templateId, List<Long> ids);

	Boolean removeTemplateType(String ids, Long templateId);

	Boolean updateTemplateWorkItemCount(Long templateId);

}
